package com.cy.stone.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 解密属性
 * @author Wings
 * @since 2023-12-10
 */
@Data
@Component
@ConfigurationProperties(prefix = "stone.decrypt")
public class DecryptProperties {

    /**
     * 是否开启
     */
    private boolean enable;

    /**
     * 用于解密前传传过来的AES key
     */
    private String privateKey;
}
